<template>
  <tc-scroll-view :filling="true" :height="height" :enableInfinite="true" @onInfinite="onInfinite">
    <tc-flex direction="column">
      <tc-banner id="home-banner-container" width="100" height="10.938" :listImg="listImg" @jump="onJumpClick"></tc-banner>
      <tc-poll-card id="home-poll-card" :list="pollList" :pagination="3"></tc-poll-card>
      <tc-bar-card :list="barList" @barClick="barClick"></tc-bar-card>
      <tc-image image="./static/images/ad.png"></tc-image>
      <tc-card-list :title="newsTitle" :list="newsList" @itemClick="newsClick"></tc-card-list>
    </tc-flex>
  </tc-scroll-view>
</template>

<script src="./HomePage.ts"></script>